Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController A

Total Complexity 52
Dependencies 11
Dependents 15
Total lines 581
Lines of code 300
Logical lines of code 128
Comment lines 138
Methods 19
Properties 8

Methods 19

Method Rating Maintainability Complexity Lines of code
get_hpos_setting_for_sync()
A
37 11 89
process_pre_update_option()
A
53 8 22
get_hpos_setting_for_feature()
S
47 6 38
add_initiate_regeneration_entry_to_tools_array()
S
50 4 29
sync_now()
S
58 4 14
get_data_store_instance()
S
63 3 12
process_updated_option()
S
73 3 5
register_post_type_for_order_placeholders()
S
54 1 24
add_feature_definition()
S
58 1 17
delete_custom_orders_tables()
S
69 2 7
init_hooks()
S
61 1 11
changing_data_source_with_sync_pending_is_allowed()
S
79 1 3
__construct()
S
82 1 3
register_removable_query_arg()
S
76 1 4
get_refunds_data_store()
S
79 1 3
get_orders_data_store()
S
79 1 3
custom_orders_table_usage_is_enabled()
S
79 1 3
init()
S
64 1 10
get_orders_pending_sync_count()
S
80 1 3